﻿using System.ComponentModel.DataAnnotations;

namespace K9Nano.IM.Areas.Chat.Dto
{
    public class AppCustomer
    {
        public string Id { get; set; }

        [Display(Name = "姓名")]
        [Required(AllowEmptyStrings = false)]
        [StringLength(50, ErrorMessage = "{0}stringmax{1}")]
        public string Name { get; set; }

        [Display(Name = "昵称")]
        [Required(AllowEmptyStrings = false)]
        [StringLength(50, ErrorMessage = "{0}stringmax{1}")]
        public string Nickname { get; set; }

        [Display(Name = "头像")]
        [StringLength(200, ErrorMessage = "{0}stringmax{1}")]
        public string Avatar { get; set; }
    }
}